package self.hoy.demo.grainmall.product.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author hyh
 * @date 2020/7/24
 */
@Data
//@Component
@ConfigurationProperties(prefix = "grainmall.thread")
public class ThreadPoolConfigProperties {

    private Integer coreSize;
    private Integer maxSize;
    private Integer keepAliveTime;

}
